cmake_minimum_required(VERSION 3.15)
project(libAcoustX CXX)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

include(third/Depends.cmake)
include_directories(include)

option(BUILD_TESTS "Build the main test executable for all commands" OFF)
option(BUILD_SHARED "Build algorithms as shared/dynamic libraries (.dll, .so)" ON)

add_subdirectory(src)
if (BUILD_TESTS)
add_subdirectory(test)
endif()